<div class="pageHeader">
	<form id="pagerForm" onsubmit="return navTabSearch(this);" action="/user/list" method="post">
		<input type="hidden" name="pageNum" value="${(pageResult.current)!}" />
		<input type="hidden" name="numPerPage" value="${(pageResult.size)!}" />
		<input type="hidden" name="orderField" value="${(param.orderField)!}" />
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					用户名称：<input type="text" name="name" value="${(userVO.name)!}"/>
				</td>
				<td>
					<div class="subBar">
						<ul>
							<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
						</ul>
					</div>
				</td>
			</tr>
		</table>

	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li class="line">line</li>
			<li><a class="add" href="/user/goAdd" target="dialog" width="500" height="240"><span>添加</span></a></li>
			<li class="line">line</li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" postType="string" href="/user/batchDelete" class="delete"><span>批量删除</span></a></li>
			<li class="line">line</li>
			<li><a class="edit" href="/user/goUpdate?id={sid_user}" target="dialog" width="500" height="240"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" layoutH="138">
		<thead>
			<tr>
				<th width="30"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="50">ID</th>
				<th width="80">用户名称</th>
				<th width="80">年龄</th>
				<th width="150">email</th>
				<th width="200" align="center">创建日期</th>
			</tr>
		</thead>
		<list>
		<#list pageResult.records as user></list>
			<tr target="sid_user" rel="${user.id}">
				<td><input name="ids" value="${user.id}" type="checkbox"></td>
				<td>${user.id}</td>
				<td>${user.name!}</td>
				<td>${user.age!}</td>
				<td>${user.email!}</td>
				<td>${(user.created?string('yyyy-MM-dd HH:mm:ss'))!}</td>
			</tr>
		</#list>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50" <#if pageResult.size=50>selected</#if>>50</option>
				<option value="100" <#if pageResult.size=100>selected</#if>>100</option>
				<option value="150" <#if pageResult.size=150>selected</#if>>150</option>
				<option value="200" <#if pageResult.size=200>selected</#if>>200</option>
				<option value="250" <#if pageResult.size=250>selected</#if>>250</option>
			</select>
			<span>条，共${pageResult.total}条</span>
		</div>

		<div class="pagination" targetType="navTab" totalCount="${pageResult.total}" numPerPage="${pageResult.size}" pageNumShown="10" currentPage="${pageResult.current}"></div>

	</div>
</div>